package component.flit.mvc
{
	import obecto.mvc.IController;
	import obecto.mvc.IModel;
	import obecto.mvc.IServices;
	import obecto.mvc.IView;

	public class SampleController implements IController
	{
		public function SampleController()
		{
		}
		
		private var _model : SampleModel;
		public function get model() : IModel
		{
			return _model;
		}
		public function set model(value : IModel) : void
		{
			if (value != null && value != _model)
				_model = SampleModel(value);
		}
		
		private var _view : SampleView;
		public function get view() : IView
		{
			return _view;
		}
		public function set view(value : IView) : void
		{
			if (value != null && value != _view)
				_view = SampleView(value);
		}
		
		[Bindable]
		public var services : IServices;
		
		public function initialize() : void
		{
		}
		
	}
}